package com.xxl.job.executor.dao;

import com.xxl.job.executor.model.QxWarning;
import com.xxl.job.executor.model.ResourceDanger;

import java.util.List;

public interface QxWarningMapper {
    int deleteByPrimaryKey(String id);

    int insert(QxWarning record);

    int insertSelective(QxWarning record);

    QxWarning selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(QxWarning record);

    int updateByPrimaryKey(QxWarning record);

    List<QxWarning> selectAllWarningData();

    List<QxWarning> selectWarningData();


    List<QxWarning> selectLatestWeatherInfo(List<String> catagaryList, List<String> levelList);

    List<ResourceDanger> selectDangerInfoByDistrict(String orgId, List<String> districtList);
}